home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 001 / comsh17.arc / SESSIO.DOC < prev    next >
Text File  |  1985-06-03  |  2KB  |  56 lines

  1. The session script is meant to be run *offline*.  It generates a
  2. script of its own, called SESS.CSH that will visit various SIGs,
  3. read messages, leave replies, etc. -- all of which you told it
  4. to do while running SESSION.CSH.
  5.  
  6. In order for the script generated by SESSION.CSH to work, you must
  7. download the following scripts from the PROGRAMMER'S SIG:
  8.  
  9. RI.CSH
  10. REPLY.CSH
  11. LEAVE.CSH
  12. SS.CSH
  13. GOSIG.CSH
  14. RN.CSH
  15. RMQSNRR.CSH
  16. LOGOFF.CSH
  17.  
  18. In addition, you must have your own "LOGIN.CSH" script that will
  19. leave you at a "!" prompt (or any other prompt capable of accepting
  20. a CIS command of the form "GO pagenumber").
  21.  
  22.  
  23. When you run session.csh, it first creates the file sess.csh, and puts
  24. the line "login" at the top.  Thus, when sess is executed, the first
  25. thing it does is (presumably) log you into CIS.  After that, you
  26. are able to interactively build up the sess.csh script during the
  27. execution of session.csh.  Session will ask you which SIGs you want
  28. to vist, what you want to do in these SIGs, and where to write the
  29. capture buffer it generates.
  30.  
  31. When you are done, you tell session that you want to log off, and that
  32. completes the generation of sess.csh.
  33.  
  34. Again, all of the above is being done *offline* -- you are not connected
  35. to CIS while SESS.CSH is being generated.  Once you have thoroughly specified
  36. what you want to do and are ready for things to begin, you start the
  37. execution of the SESS script.  This file, then, will dial up CIS
  38. (assuming you have autodial abilities in your login.csh script), log
  39. you in, visit the SIGs you want, retrieve your messages, post your
  40. replies, and so on -- and then log off again when things are done!!!
  41.  
  42. All this allows you to minimize your connect time to CIS (After all,
  43. you aren't sitting there gawking at the messages until after you're
  44. logged off again).  And ... it demonstrates the abilities of scripts.
  45.  
  46.  
  47. Naturally, these scripts can be modified in any way you choose.  For the
  48. really strange of you, you can even specify a script that drops into
  49. CB, says hello to everybody, says goodbye a few seconds later, and
  50. then carries on with SIG hopping!
  51.  
  52.  
  53. Enjoy!
  54.  
  55. c  h  a  r  l  e  s
  56.